Fixed Makefile configuration for OS X dynamic library. STR #1391

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-08-12 11:05:04 +00:00
parent 8266e090f5
commit 4f6119433b
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ if test x$enable_shared = xyes; then
FLDSONAME="libfltk_forms.$FL_API_VERSION.dylib"
GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib"
IMGDSONAME="libfltk_images.$FL_API_VERSION.dylib"
DSOCOMMAND="\$(CC) $DSOFLAGS -dynamiclib -lc -o"
DSOCOMMAND="\$(CXX) $DSOFLAGS -dynamiclib -lc -o"
;;
SunOS* | UNIX_S*)

View File

@ -328,7 +328,7 @@ libfltk_images.1.1.dylib: $(IMGOBJECTS) libfltk.1.1.dylib
-install_name $(libdir)/$@ \
-current_version 1.1.4 \
-compatibility_version 1.1.0 \
$(IMGOBJECTS) -L.$(LDLIBS) $(IMAGELIBS) -lfltk
$(IMGOBJECTS) -L. $(LDLIBS) $(IMAGELIBS) -lfltk
$(RM) libfltk_images.dylib
$(LN) libfltk_images.1.1.dylib libfltk_images.dylib