summaryrefslogtreecommitdiff
blob: d783e28a05666d3654d9aef8f26783e813c9cc3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- OpenJPEG/Makefile.orig	2007-02-13 09:49:00.000000000 +0100
+++ OpenJPEG/Makefile	2007-02-28 08:28:58.000000000 +0100
@@ -36,7 +36,7 @@
 dist: OpenJPEG
 	mkdir -p dist
 	cp *.a dist
-	mv *.so dist
+	cp *.so dist
 	cp libopenjpeg/openjpeg.h dist
 
 dos2unix:
@@ -51,7 +51,7 @@
 	$(AR) r $@ $(MODULES)
 
 $(SHAREDLIB): $(MODULES)
-	$(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
+	$(CC) $(LDFLAGS) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
 
 install:
 	install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)