diff options
author | gcoco <gcoco@users.noreply.github.com> | 2014-04-20 02:05:29 (GMT) |
---|---|---|
committer | gcoco <gcoco@users.noreply.github.com> | 2014-04-20 02:05:29 (GMT) |
commit | 000f8deb521f10dc52f4e9777b61beffecd0ab18 (patch) | |
tree | 16da08da905703d79a41742f813e8a8155eb4492 | |
parent | 0e7bb0c2c338c1e11638c870ad40114fe79fdb58 (diff) | |
download | mxe-000f8deb521f10dc52f4e9777b61beffecd0ab18.zip mxe-000f8deb521f10dc52f4e9777b61beffecd0ab18.tar.gz mxe-000f8deb521f10dc52f4e9777b61beffecd0ab18.tar.bz2 |
package libical: enable shared build
-rw-r--r-- | src/libical.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libical.mk b/src/libical.mk index 4fb54b4..635a1d7 100644 --- a/src/libical.mk +++ b/src/libical.mk @@ -19,7 +19,7 @@ define $(PKG)_BUILD cd '$(1)' && mkdir build cd '$(1)/build' && cmake .. \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DSTATIC_LIBRARY=true \ + -DSTATIC_LIBRARY=$(if $(BUILD_STATIC),true,false) \ -DHAVE_PTHREAD_H=false \ -DCMAKE_HAVE_PTHREAD_H=false $(MAKE) -C '$(1)/build' -j '$(JOBS)' ical-header @@ -31,5 +31,3 @@ define $(PKG)_BUILD '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libical.exe' \ `'$(TARGET)-pkg-config' libical --cflags --libs` endef - -$(PKG)_BUILD_SHARED = |