]> git.pld-linux.org Git - packages/libprelude.git/commitdiff
- avoid -L/lib
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 24 Mar 2008 16:50:22 +0000 (16:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libprelude-libdir.patch -> 1.1

libprelude-libdir.patch [new file with mode: 0644]

diff --git a/libprelude-libdir.patch b/libprelude-libdir.patch
new file mode 100644 (file)
index 0000000..bf655ed
--- /dev/null
@@ -0,0 +1,27 @@
+--- libprelude-0.9.16.2/configure.in.orig      2008-01-23 15:08:10.000000000 +0100
++++ libprelude-0.9.16.2/configure.in   2008-03-24 16:06:00.481090289 +0100
+@@ -295,8 +295,10 @@
+ if test x$with_system_ltdl != xno; then
+       CPPFLAGS_bkp=$CPPFLAGS
+       LDFLAGS_bkp=$LIBS
++      if test -n "$with_system_ltdl" -a "$with_system_ltdl" != "yes"; then
+       CPPFLAGS="-I$with_system_ltdl/include"
+       LDFLAGS="-L$with_system_ltdl/lib"
++      fi
+         AC_CHECK_HEADER(ltdl.h, AC_CHECK_LIB(ltdl, lt_dlopen, have_system_ltdl=yes))
+       
+@@ -313,8 +315,13 @@
+         AC_CONFIG_SUBDIRS(libltdl)
+ else
+         with_ltdl_type="System"
++      if test -n "$with_system_ltdl" -a "$with_system_ltdl" != "yes"; then
+         INCLTDL="-I$with_system_ltdl/include"
+         LIBLTDL="-L$with_system_ltdl/lib -lltdl"
++      else
++        INCLTDL=
++        LIBLTDL="-lltdl"
++      fi
+ fi
+ AM_CONDITIONAL(HAVE_SYSTEM_LIBLTDL, test x$have_system_ltdl = xyes)
This page took 0.123457 seconds and 4 git commands to generate.