From dbae373103e98f332647d02d403ad7612bfd4aba Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 15 Nov 2007 17:27:03 +0000 Subject: - 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 --- externals/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'externals') 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)" -- cgit v1.2.1