You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
499 B
Diff
12 lines
499 B
Diff
Use LDFLAGS when making the dylib.
|
|
--- lib/Makefile.darwin-lib.orig 2023-02-06 21:31:53.000000000 -0600
|
|
+++ lib/Makefile.darwin-lib 2023-02-26 14:03:45.000000000 -0600
|
|
@@ -25,6 +25,7 @@
|
|
$(E) " GEN_BSD_SOLIB $(BSD_LIB)"
|
|
$(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \
|
|
-install_name $(BSDLIB_INSTALL_DIR)/$(BSD_LIB) \
|
|
+ $(LDFLAGS) \
|
|
-undefined dynamic_lookup -o $(BSD_LIB) $(OBJS))
|
|
$(Q) $(MV) pic/$(BSD_LIB) .
|
|
$(Q) $(RM) -f ../$(BSD_LIB)
|