forked from soutade/libgourou
Fix STATIC_BUILD errors
This commit is contained in:
parent
f01bf9e837
commit
59c801da08
2
Makefile
2
Makefile
|
@ -54,7 +54,7 @@ $(BUILDDIR)/%.$(OBJEXT): $(SRCDIR)/%.$(SRCEXT)
|
|||
libgourou: libgourou.a libgourou.so
|
||||
|
||||
libgourou.a: $(OBJECTS)
|
||||
$(AR) crs $@ obj/*.o $(LDFLAGS)
|
||||
$(AR) crs $@ obj/*.o ./lib/updfparser/obj/*.o
|
||||
|
||||
libgourou.so: $(OBJECTS) $(UPDFPARSERLIB)
|
||||
$(CXX) obj/*.o $(LDFLAGS) -o $@ -shared
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
TARGETS=acsmdownloader adept_activate
|
||||
|
||||
CXXFLAGS=-Wall `pkg-config --cflags Qt5Core Qt5Network` -fPIC -I$(ROOT)/include -I$(ROOT)/lib/pugixml/src/
|
||||
|
||||
LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) -lcrypto -lzip -lz
|
||||
ifneq ($(STATIC_UTILS),)
|
||||
LDFLAGS += $(ROOT)/libgourou.a
|
||||
|
|
Loading…
Reference in New Issue
Block a user