mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
bb494e9cb2
PR: 9685
17 lines
624 B
Plaintext
17 lines
624 B
Plaintext
--- Makefile.shlib.orig Wed Feb 3 19:16:02 1999
|
|
+++ Makefile.shlib Wed Feb 3 19:18:28 1999
|
|
@@ -59,10 +59,11 @@
|
|
ifeq ($(PORTNAME), freebsd)
|
|
ifdef BSD_SHLIB
|
|
install-shlib-dep := install-shlib
|
|
- shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
|
ifdef ELF_SYSTEM
|
|
- LDFLAGS_SL := -x -Bshareable
|
|
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
|
|
+ LDFLAGS_SL := -x -shared -soname $(shlib)
|
|
else
|
|
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
|
LDFLAGS_SL := -x -Bshareable -Bforcearchive
|
|
endif
|
|
CFLAGS += $(CFLAGS_SL)
|