Does anyone have a way (via the ports) to build libxml2 with both the static libxml2.a and libxml2.so as most other ports do? If I try to hack the Makefile to build the static library, it disables the shared one, but I need both in the install. If I toggle -DBUILD_SHARED_LIBS=ON the static lib won't build.

eg.
OPTIONS_DEFINE= DOCS ICU MEM_DEBUG READLINE THREAD_ALLOC STATIC
STATIC_CONFIGURE_ON=    --enable-static=yes
STATIC_CMAKE_ON=        -DIconv_IS_BUILT_IN=OFF \
                        -DBUILD_SHARED_LIBS=OFF

Thanks,

--
Anish Mistry

--
Anish

Reply via email to