opnsense-ports/devel/readline/files/patch-support-shobj-conf
Franco Fichtner 65a742671f */*: sync with upstream
Taken from: FreeBSD
2016-12-18 10:25:29 +01:00

20 lines
540 B
Text

--- support/shobj-conf.orig 2009-10-28 13:20:21 UTC
+++ support/shobj-conf
@@ -128,17 +128,10 @@
SHOBJ_CFLAGS=-fPIC
SHOBJ_LD='${CC}'
- if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)'
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
- else
- SHOBJ_LDFLAGS='-shared'
-
- SHLIB_XLDFLAGS='-R$(libdir)'
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
- fi
;;
# FreeBSD-4.x and later have only ELF