diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-29 18:34:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-29 18:46:38 +0100 |
commit | 7c4f2ec8a795534164ee1923093b7d5be0126c55 (patch) | |
tree | 08971f4c7375629393b6d9cdeb713006778334bf /libexttextcat | |
parent | 8c9823d311fdf8092cc75873e4565325d204a658 (diff) |
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.
Diffstat (limited to 'libexttextcat')
-rw-r--r-- | libexttextcat/makefile.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexttextcat/makefile.mk b/libexttextcat/makefile.mk index f4f5383c8713..0f4c0b0626df 100644 --- a/libexttextcat/makefile.mk +++ b/libexttextcat/makefile.mk @@ -58,7 +58,10 @@ CONFIGURE_ACTION=configure --disable-shared --with-pic CFLAGS="$(ARCH_FLAGS) $(E CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL)) .IF "$(OS)"=="AIX" CONFIGURE_FLAGS+= CFLAGS=-D_LINUX_SOURCE_COMPAT -.ENDIF +.ELIF "$(OS)" == "MACOSX" +CONFIGURE_FLAGS += \ + --prefix=/@.__________________________________________________$(EXTRPATH) +.END .IF "$(CROSS_COMPILING)"=="YES" CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) .ENDIF |