Files
Ryan Schmidt f0b061bf41 libnids: Also build and install dynamic library
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.
2021-07-29 12:38:35 -05:00

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)