mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
c5dd5e6d13
Submitted by: wollman
19 lines
755 B
Plaintext
19 lines
755 B
Plaintext
--- util/profile/configure.orig Tue Apr 8 17:12:04 2003
|
|
+++ util/profile/configure Wed May 7 14:14:47 2003
|
|
@@ -2269,13 +2269,14 @@
|
|
PICFLAGS=-fpic
|
|
if test "x$objformat" = "xelf" ; then
|
|
SHLIBVEXT='.so.$(LIBMAJOR)'
|
|
+ LDCOMBINE='cc -shared -Wl,-soname,lib$(LIB)$(SHLIBVEXT)'
|
|
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -Wl,-rpath -Wl,$(PROG_RPATH)'
|
|
else
|
|
+ LDCOMBINE='ld -Bshareable'
|
|
SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
|
|
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -R$(PROG_RPATH)'
|
|
fi
|
|
SHLIBEXT=.so
|
|
- LDCOMBINE='ld -Bshareable'
|
|
SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
|
|
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)'
|
|
RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;'
|