bdd049c2a4
- Use COPYTREE_SHARE to install include headers - Add dos2unix so the patch can have svn:eol-style native
22 lines
740 B
Text
22 lines
740 B
Text
--- src/Makefile.orig 2014-09-15 11:57:34 UTC
|
|
+++ src/Makefile
|
|
@@ -11,7 +11,7 @@
|
|
.PHONY: all clean cleandeps cleanobjs cleanlib libnoise libnoise.so libnoise.so.0
|
|
|
|
# hooks for future makefiles being able to make multiple SOs, or older SOs
|
|
-libnoise: libnoise.so libnoise.a libnoise.la
|
|
+libnoise: libnoise.la
|
|
libnoise.so: libnoise.so.0
|
|
libnoise.so.0: libnoise.so.0.3
|
|
|
|
@@ -21,8 +21,8 @@
|
|
|
|
libnoise.a: $(OBJECTS)
|
|
$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o $@ $(OBJECTS)
|
|
-libnoise.la: $(OBJECTS)
|
|
- $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o $@ $(OBJECTS:.o=.lo)
|
|
+libnoise.la: $(OBJECTS:.o=.lo)
|
|
+ $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(PREFIX)/lib -o $@ $(OBJECTS:.o=.lo)
|
|
|
|
clean: cleandeps cleanobjs cleanlib
|
|
cleandeps:
|