From 7c4f2ec8a795534164ee1923093b7d5be0126c55 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 29 Feb 2012 18:34:42 +0100 Subject: Simplify install name handling for external libraries on Mac OS X ...by allowing our special @___... tokens anywhere within an install name, so that external modules can configure --prefix=/@___... etc. This removes the need for the special extshl and EXTRPATH=LOADER. Also, a new OUT2BIN_NONE can be used for external modules where the generated libraries need the default EXTRPATH=OOO, but generated executables are only used during the build and such need RPATH=NONE. --- hunspell/makefile.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hunspell') diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk index a1c035ac6e32..c4377a631b56 100644 --- a/hunspell/makefile.mk +++ b/hunspell/makefile.mk @@ -58,7 +58,10 @@ CONFIGURE_FLAGS+= CFLAGS=-xc99=none .IF "$(OS)"=="AIX" CONFIGURE_FLAGS+= CFLAGS=-D_LINUX_SOURCE_COMPAT -.ENDIF +.ELIF "$(OS)" == "MACOSX" +CONFIGURE_FLAGS += \ + --prefix=/@.__________________________________________________$(EXTRPATH) +.END .IF "$(SYSBASE)"!="" .IF "$(EXTRA_CFLAGS)"!="" -- cgit