Ticket #18758: patch-lib-local.mk.diff

File patch-lib-local.mk.diff, 897 bytes (added by mail@…, 16 years ago)
  • lib/local.mk

    old new  
    55LIB_OBJS = aes.lo audio.lo auth.lo buffer.lo channel.lo commands.lo dns.lo esbuf.lo handlers.lo keyexchange.lo packet.lo playlist.lo puzzle.lo session.lo shn.lo sndqueue.lo util.lo xml.lo network.lo despotify.lo sha1.lo hmac.lo
    66
    77CFLAGS += -Igstapp/
    8 LDFLAGS += -rpath /usr/lib
     8LDFLAGS += -rpath @PREFIX@/lib
    99
    1010.PHONY: all clean install uninstall
    1111
     
    8383        $(LT) --mode=clean rm -f $(LIB_OBJS) Makefile.dep
    8484
    8585install: libdespotify.la
    86         # install despotify.h /usr/include
    87         $(LT) --mode=install install libdespotify.la /usr/lib/libdespotify.la
    88         ldconfig -n /usr/lib
     86        # install despotify.h @DESTROOT@@PREFIX@/include
     87        $(LT) --mode=install install libdespotify.la @DESTROOT@@PREFIX@/lib/libdespotify.la
    8988
    9089uninstall:
    9190        # rm -f /usr/include/despotify.h