source: trunk/dports/aqua/fltk-devel/files/patch-src-Makefile.diff @ 97609

Last change on this file since 97609 was 97609, checked in by ryandesign@…, 7 years ago

fltk, fltk-devel: fix 'ld: library not found for -lpng' build failure with old clang which doesn't support LIBRARY_PATH (Xcode 4.3 and older)

File size: 425 bytes
  • src/Makefile

    old new  
    355355                -install_name $(libdir)/$@ \
    356356                -current_version 1.3.0 \
    357357                -compatibility_version 1.3.0 \
    358                 $(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk
     358                $(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk $(LDFLAGS)
    359359        $(RM) libfltk_images.dylib
    360360        $(LN) libfltk_images.1.3.dylib libfltk_images.dylib
    361361
Note: See TracBrowser for help on using the repository browser.