Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7500 - in /trunk/sat-solver: configure.in src/Makefile.am
  • From: matz@xxxxxxxxxxxxxxxx
  • Date: Fri, 12 Oct 2007 14:58:09 -0000
  • Message-id: <20071012145809.2EA2F454E8@xxxxxxxxxxxxxxxx>
Author: matz
Date: Fri Oct 12 16:58:08 2007
New Revision: 7500

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7500&view=rev
Log:
For now only build a static (but PIC) libsatsolver.a.  No sense in doing
a shared lib with an unstable API.

Modified:
    trunk/sat-solver/configure.in
    trunk/sat-solver/src/Makefile.am

Modified: trunk/sat-solver/configure.in
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/configure.in?rev=7500&r1=7499&r2=7500&view=diff
==============================================================================
--- trunk/sat-solver/configure.in (original)
+++ trunk/sat-solver/configure.in Fri Oct 12 16:58:08 2007
@@ -43,6 +43,9 @@
 # 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
 

Modified: trunk/sat-solver/src/Makefile.am
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/Makefile.am?rev=7500&r1=7499&r2=7500&view=diff
==============================================================================
--- trunk/sat-solver/src/Makefile.am (original)
+++ trunk/sat-solver/src/Makefile.am Fri Oct 12 16:58:08 2007
@@ -18,8 +18,9 @@
 
 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           \

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages