Files
macports-ports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib.diff
2023-02-26 16:32:02 -06:00

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)