nixpkgs/pkgs/servers/http/myserver/installable-binary.patch

15 lines
621 B
Diff
Raw Normal View History

We actually want the `myserver' binary to be installable. Failing to do that
it gets an RPATH pointing to $top_builddir/src/.libs.
--- myserver-0.10/src/Makefile.in 2010-10-14 12:45:42.000000000 +0200
+++ myserver-0.10/src/Makefile.in 2011-03-03 22:23:05.000000000 +0100
@@ -1307,7 +1307,6 @@ libmyserver_la_LIBADD = \
$(INTLLIBS) $(LDFLAGS)
myserver_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS) -DHOST_STR=\"$(build)\" -DPREFIX=\"$(prefix)\"
-myserver_LDFLAGS = -static -no-install
myserver_LDADD = libmyserver.la $(PTHREAD_LIB) $(IDN_LIB) \
$(XNET_LIB) $(DL_LIB) $(ZLIB_LIB) \
$(XML_LIBS) $(INTLLIBS) $(LDFLAGS)