Changeset 1487


Ignore:
Timestamp:
Dec 15, 2006, 6:44:20 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Support --prefix (library location).
Location:
zzuf/trunk/src
Files:
2 edited

Legend:

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

    r1470 r1487  
    22bin_PROGRAMS = zzuf
    33zzuf_SOURCES = zzuf.c
     4zzuf_CPPFLAGS = -DLIBDIR=\"$(libdir)/zzuf\"
    45
    56pkglib_LTLIBRARIES = libzzuf.la
  • zzuf/trunk/src/zzuf.c

    r1486 r1487  
    145145    free(libpath);
    146146
    147     /* FIXME: use real path */
    148     setenv("LD_PRELOAD", "/usr/lib/zzuf/libzzuf.so", 1);
     147    setenv("LD_PRELOAD", LIBDIR "/libzzuf.so", 1);
    149148}
    150149
Note: See TracChangeset for help on using the changeset viewer.