Ignore:
Timestamp:
Jul 16, 2008, 11:52:08 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • zzuf.c: retrieve library object name from libtool's .la file so we don't need to hardcode .so, .sl, .dylib etc. for various platforms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/Makefile.am

    r1866 r2534  
    99zzuf_SOURCES = zzuf.c $(COMMON) $(GETOPT) \
    1010               opts.c opts.h md5.c md5.h timer.c timer.h
    11 zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\"
     11zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\" -DSONAME=\"$$(grep dlname libzzuf.la | cut -f2 -d"'")\"
    1212zzuf_LDFLAGS = $(MATH_LIBS) $(WINSOCK2_LIBS)
     13zzuf_DEPENDENCIES = libzzuf.la
    1314
    1415pkglib_LTLIBRARIES = libzzuf.la
Note: See TracChangeset for help on using the changeset viewer.