3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/myserver/installable-binary.patch
Ludovic Courtès e7fc725ddb GNU MyServer: Make the binary installable.
svn path=/nixpkgs/trunk/; revision=26162
2011-03-04 13:19:04 +00:00

15 lines
621 B
Diff

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)