a shared lib with an unstable API.
# Set STDC_HEADERS
AC_HEADER_STDC
+# Turn off the shared solver library until we have a stable API
+AC_DISABLE_SHARED
+
# Initialize libtool
AM_PROG_LIBTOOL
EXTRA_DIST = poolid_private.h
-libsatsolver_la_LDFLAGS = -version-info 0:0:0
-
+# As long as we build libsatsolver.la statically only we need to
+# force PIC code here, as this lib will be included in libzypp.
+libsatsolver_la_CFLAGS = -fPIC $(AM_CFLAGS)
libsatsolver_la_SOURCES = \
bitmap.c \
evr.c \