aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libplist
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2019-08-22 16:32:53 +0200
committerRechi <Rechi@users.noreply.github.com>2019-08-22 16:32:53 +0200
commita6cb433c6348144cf75be05ee58b2f94f16da84f (patch)
tree94675ef4e97f3408f1d4eb6eca83bb1ca939ae09 /tools/depends/target/libplist
parent72c507a9ce2ab257065aed57cf3a6abc002a5f56 (diff)
[depends] build libplist static
Diffstat (limited to 'tools/depends/target/libplist')
-rw-r--r--tools/depends/target/libplist/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/depends/target/libplist/Makefile b/tools/depends/target/libplist/Makefile
index 342d6cc986..6c2d64f5ba 100644
--- a/tools/depends/target/libplist/Makefile
+++ b/tools/depends/target/libplist/Makefile
@@ -7,16 +7,12 @@ VERSION=2.0.0
SOURCE=$(LIBNAME)-$(VERSION)
FILENAME=v$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
-ifeq (darwin, $(findstring darwin, $(HOST)))
-LIBDYLIB=$(PLATFORM)/src/.libs/libplist++.dylib
-else
-LIBDYLIB=$(PLATFORM)/src/.libs/libplist++.so
-endif
+LIBDYLIB=$(PLATFORM)/src/.libs/libplist++.a
CFLAGS+=-fvisibility=default
all: .installed-$(PLATFORM)
# configuration settings
-CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; ./configure --prefix=$(PREFIX) --without-cython
+CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; CFLAGS="-Dlist_add=plist_list_add" ./configure --prefix=$(PREFIX) --disable-shared --without-cython
$(TARBALLS_LOCATION)/$(ARCHIVE):
cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
@@ -40,4 +36,3 @@ clean:
distclean::
rm -rf $(PLATFORM) .installed-$(PLATFORM)
-