]> git.stg.codes - stg.git/commitdiff
Fixed linking with libfbclient.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 4 Jan 2013 19:05:36 +0000 (21:05 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 4 Jan 2013 19:05:36 +0000 (21:05 +0200)
projects/stargazer/plugins/Makefile.in

index 17e10ace9d0845932ecc6f22860c52c1e514d7f7..49306854f97e534f2985c4d4bb577235a0b4cea7 100644 (file)
@@ -15,12 +15,12 @@ LIBS += $(addprefix -lstg,$(STGLIBS))
 
 CXXFLAGS += -fPIC $(STGLIBS_INCS)
 CFLAGS += -fPIC $(STGLIBS_INCS)
-LDFLAGS += -shared -Wl,-rpath,$(PREFIX)/usr/lib/stg $(STGLIBS_LIBS)
+LDFLAGS += -shared -Wl,-rpath,$(PREFIX)/usr/lib/stg
 
 all: $(PROG)
 
 $(PROG): $(OBJS)
-       $(CXX) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
+       $(CXX) $^ $(STGLIBS_LIBS) $(LIBS) $(LDFLAGS) -o $(PROG)
        $(LN) -fs "`pwd`/$(PROG)" $(DIR_MOD)/$(PROG)
 
 clean: