Index: fltk-2.0.x-r6671/Makefile =================================================================== --- fltk-2.0.x-r6671.orig/Makefile +++ fltk-2.0.x-r6671/Makefile @@ -25,7 +25,7 @@ include makeinclude -DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test +DIRS = src $(LOCALIMAGES) images fluid all: makeinclude for dir in $(DIRS); do\ Index: fltk-2.0.x-r6671/makeinclude.in =================================================================== --- fltk-2.0.x-r6671.orig/makeinclude.in +++ fltk-2.0.x-r6671/makeinclude.in @@ -79,7 +79,7 @@ # libraries to link with: LDLIBS = @LDFLAGS@ @LIBS@ GLDLIBS = @LDFLAGS@ @GLLIB@ @LIBS@ -LINKFLTK = -L../lib @LINKFLTK@ +LINKFLTK = -L../lib @LINKFLTK@ LINKFLTKGL = -L../lib @LINKFLTKGL@ @LINKFLTK@ LINKFLTKFORMS = -L../lib -lfltk2_forms @LINKFLTK@ LOCAL_IMAGELIBS = @LOCAL_IMAGELIBS@ Index: fltk-2.0.x-r6671/src/Makefile =================================================================== --- fltk-2.0.x-r6671.orig/src/Makefile +++ fltk-2.0.x-r6671/src/Makefile @@ -235,7 +235,7 @@ ../lib/$(DSONAME): $(OBJECTS) echo $(DSOCOMMAND) $@ $(OBJECTS) -L../lib $(IMAGELIBS) - $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS) + $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS) -Wl,-soname,$(DSONAME) $(RM) ../lib/$(DSOLINK) $(LN) ../lib/$(DSONAME) ../lib/$(DSOLINK)