diff options
-rw-r--r-- | src/libwebvi/Makefile | 2 | ||||
-rw-r--r-- | src/unittest/Makefile | 2 | ||||
-rw-r--r-- | src/vdr-plugin/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libwebvi/Makefile b/src/libwebvi/Makefile index 47d5826..c3cc999 100644 --- a/src/libwebvi/Makefile +++ b/src/libwebvi/Makefile @@ -16,7 +16,7 @@ libwebvi.o: libwebvi.c libwebvi.h $(CC) -fPIC -Wall -O2 -g $(CFLAGS) $(DEFINES) `python-config --cflags` -c -o libwebvi.o libwebvi.c $(LIBMINOR): libwebvi.o - $(CC) -shared -Wl,-soname,$(LIBSONAME) -Wl,--as-needed libwebvi.o `python-config --ldflags` -o $(LIBMINOR) + $(CC) -shared -Wl,-soname,$(LIBSONAME) -Wl,--as-needed libwebvi.o `python-config --ldflags` $(LDFLAGS) -o $(LIBMINOR) ln -sf $(LIBMINOR) $(LIBSONAME) ln -sf $(LIBSONAME) $(LIBNAME) diff --git a/src/unittest/Makefile b/src/unittest/Makefile index 9d82fb4..7aee608 100644 --- a/src/unittest/Makefile +++ b/src/unittest/Makefile @@ -1,5 +1,5 @@ CFLAGS=-O2 -g -Wall -I../libwebvi -LDFLAGS=-L../libwebvi -Wl,-rpath=../libwebvi -lwebvi +LDFLAGS+=-L../libwebvi -Wl,-rpath=../libwebvi -lwebvi .PHONY: all clean check test diff --git a/src/vdr-plugin/Makefile b/src/vdr-plugin/Makefile index bd1eee5..af63761 100644 --- a/src/vdr-plugin/Makefile +++ b/src/vdr-plugin/Makefile @@ -104,7 +104,7 @@ i18n: $(I18Nmsgs) $(I18Npot) ### Targets: libvdr-$(PLUGIN).so: $(OBJS) - $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean |