From abb03fdfdf3498ab2827b1d4571b29e87d86e70a Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 29 Aug 2003 19:03:09 +0000 Subject: [PATCH] Added changes for static build and loadable libraries. --- configure/os/CONFIG.linux-mpc82xx.linux-mpc82xx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure/os/CONFIG.linux-mpc82xx.linux-mpc82xx b/configure/os/CONFIG.linux-mpc82xx.linux-mpc82xx index f69c83903..66a6883c5 100644 --- a/configure/os/CONFIG.linux-mpc82xx.linux-mpc82xx +++ b/configure/os/CONFIG.linux-mpc82xx.linux-mpc82xx @@ -11,3 +11,12 @@ GNU_DIR = /usr CC = $(GNU_BIN)/gcc CCC = $(GNU_BIN)/g++ + +STATIC_LDFLAGS_YES= -Wl,-Bstatic +STATIC_LDFLAGS_NO= +STATIC_LDLIBS_YES= -Wl,-Bdynamic +STATIC_LDLIBS_NO= + +SHRLIB_LDFLAGS += -shared -z defs +LOADABLE_SHRLIB_LDFLAGS = -shared +