mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Build and install dynamic library in addition to static library. Fix permissions in extracted directory for easier development. Fix implicit declaration of functions. Fix undefined symbols in i386 build by not declaring functions inline. Modernize checksums.
13 lines
508 B
Diff
13 lines
508 B
Diff
Use LDFLAGS.
|
|
--- src/Makefile.in.orig 2010-03-01 15:13:17.000000000 -0600
|
|
+++ src/Makefile.in 2021-07-29 11:44:40.000000000 -0500
|
|
@@ -65,7 +65,7 @@
|
|
ar -cr $@ $(OBJS)
|
|
$(RANLIB) $@
|
|
$(LIBSHARED): $(OBJS_SHARED)
|
|
- $(CC) -shared -Wl,-soname,$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB)
|
|
+ $(CC) -shared -Wl,-soname,$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LDFLAGS) $(LIBS) $(LNETLIB) $(PCAPLIB)
|
|
|
|
_install install: $(LIBSTATIC)
|
|
../mkinstalldirs $(install_prefix)$(libdir)
|