Menu

#6 Patch for src/Makefile.in to honor LDFLAGS

open
nobody
None
5
2005-06-24
2005-06-24
David Wood
No

Hello,

Below is a tiny patch for src/Makefile.in to honor
./configure LDFLAGS=foo. Note that CFLAGS is already
supported. I want this because I would rather pass
-R/usr/local/sybase to the linker instead of depending
on LD_LIBRARY_PATH at run time. David

--- Makefile.in 23 Jun 2005 23:45:38 -0000 1.1.1.1
+++ Makefile.in 24 Jun 2005 16:09:06 -0000
@@ -165,7 +165,7 @@
LIB_DIRS = $(X_LIBDIR) $(MOTIF_INCDIR)
$(SYBASE_LIBDIR) $(READLINE_LIBDIR)
CFLAGS = @CFLAGS@ $(DEBUG) $(DEFINES)
$(INCLUDE_DIRS)
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = $(DEBUG) $(LIB_DIRS)
+LDFLAGS = @LDFLAGS@ $(DEBUG) $(LIB_DIRS)
LIBS = $(SYBASE_LIBS) $(X_LIBS)
$(READLINE_LIBS) @LIBS@

# The follow define information about the components
that make up

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.