You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configure finds the libs and headers OK and sets config.h appropriately. But when I go to compile, the -I/usr/local/include is not appearing on the compile command lines. Also, the -L/usr/local/lib does not appear on the shared-library link command line.
Version: 1.2-current
CUPS.org User: heath.kehoe.intermec
I set env vars when running configure so that it finds my libjpeg, libtiff, libz, and libpng. These are:
CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
The configure finds the libs and headers OK and sets config.h appropriately. But when I go to compile, the -I/usr/local/include is not appearing on the compile command lines. Also, the -L/usr/local/lib does not appear on the shared-library link command line.
To fix the -I, I changed Makedefs.in as follows:
--- Makedefs.in 12 Mar 2003 20:40:09 -0000 1.36.2.14
+++ Makedefs.in 7 Apr 2003 22:52:31 -0000
@@ -84,7 +84,7 @@
ARFLAGS = @ARFLAGS@$(RC_CFLAGS) @CFLAGS@ -I.. $ (OPTIONS)$(RC_CFLAGS) @CFLAGS@ @CPPFLAGS@ -I.. $ (OPTIONS)$(RC_CFLAGS) @CXXFLAGS@ -I.. $ (OPTIONS)
BACKLIBS = @BACKLIBS@
-CFLAGS =
+CFLAGS =
COMMONLIBS = @Commonlibs@
CXXFLAGS =
CXXLIBS = @CXXLIBS@
And to fix the -L for shared libs I changed config-scripts/cups-sharedlibs.m4:
--- cups-sharedlibs.m4 28 Jan 2003 15:32:57 -0000 1.6.2.14
+++ cups-sharedlibs.m4 7 Apr 2003 22:53:22 -0000
@@ -24,6 +24,7 @@
PICFLAG=1
DSOFLAGS="${DSOFLAGS:=}"
+DSOFLAGS="$DSOFLAGS $LDFLAGS"
AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries, default=yes])
The text was updated successfully, but these errors were encountered: