blob: ed1effdfc799c2a38edfcad44476e371a3ab30a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Index: fltk-2.0.x-r6671/Makefile
===================================================================
--- fltk-2.0.x-r6671.orig/Makefile
+++ fltk-2.0.x-r6671/Makefile
@@ -25,7 +25,7 @@
include makeinclude
-DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test
+DIRS = src $(LOCALIMAGES) images fluid
all: makeinclude
for dir in $(DIRS); do\
Index: fltk-2.0.x-r6671/makeinclude.in
===================================================================
--- fltk-2.0.x-r6671.orig/makeinclude.in
+++ fltk-2.0.x-r6671/makeinclude.in
@@ -79,7 +79,7 @@
# libraries to link with:
LDLIBS = @LDFLAGS@ @LIBS@
GLDLIBS = @LDFLAGS@ @GLLIB@ @LIBS@
-LINKFLTK = -L../lib @LINKFLTK@
+LINKFLTK = -L../lib @LINKFLTK@
LINKFLTKGL = -L../lib @LINKFLTKGL@ @LINKFLTK@
LINKFLTKFORMS = -L../lib -lfltk2_forms @LINKFLTK@
LOCAL_IMAGELIBS = @LOCAL_IMAGELIBS@
Index: fltk-2.0.x-r6671/src/Makefile
===================================================================
--- fltk-2.0.x-r6671.orig/src/Makefile
+++ fltk-2.0.x-r6671/src/Makefile
@@ -235,7 +235,7 @@
../lib/$(DSONAME): $(OBJECTS)
echo $(DSOCOMMAND) $@ $(OBJECTS) -L../lib $(IMAGELIBS)
- $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS)
+ $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS) -Wl,-soname,$(DSONAME)
$(RM) ../lib/$(DSOLINK)
$(LN) ../lib/$(DSONAME) ../lib/$(DSOLINK)
|