aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-15 17:27:03 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-15 17:27:03 +0000
commitdbae373103e98f332647d02d403ad7612bfd4aba (patch)
treed4c74299eb4af97a829d0bac5741f05379d0c8a6 /externals
parent77bed51e022add692eea5b33771461777c2d8403 (diff)
- first working sketch of having a shared dylib for a libdir, I moved
query_options() to the dylib, and it works! :D (on Mac OS X, at least) - minor cleanups in text.c - first test of saving options to the file, it writes data, but there are bugs svn path=/trunk/; revision=9014
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/externals/Makefile b/externals/Makefile
index bd70341b..f757dfe4 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -102,6 +102,7 @@ CXXFLAGS = $(CFLAGS)
%.$(EXTENSION): %.o
$(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) \
`test -f $*.libs && cat $*.libs` \
+ `my_dylib=$(patsubst $(externals_src)/%,%,$(@D)); test -f $(@D)/lib$${my_dylib}.$(DYLIB_EXTENSION) && echo -L$(@D) -l$$my_dylib` \
`test -f $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs && \
cat $(dir $*)../$(BUILDSRC_OS_NAME)/$(notdir $*).libs`
chmod a-x "$*.$(EXTENSION)"