Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2006-12-01 20:50:43 +0000
committerGrant Gayed2006-12-01 20:50:43 +0000
commit67f18bb6c96fdee851e1f845d8182af2d6181234 (patch)
tree41bd15f7b17c0911101d99b501cbd348973b92b8 /bundles/org.eclipse.swt
parent5bd7b807e37ec07b694140618d02e600711e581b (diff)
downloadeclipse.platform.swt-67f18bb6c96fdee851e1f845d8182af2d6181234.tar.gz
eclipse.platform.swt-67f18bb6c96fdee851e1f845d8182af2d6181234.tar.xz
eclipse.platform.swt-67f18bb6c96fdee851e1f845d8182af2d6181234.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak13
1 files changed, 9 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak
index 677100e1a1..553829b98a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak
@@ -46,7 +46,7 @@ GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthrea
CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
-AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared -s
+AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared
ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0`
ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0
@@ -74,7 +74,7 @@ MOZILLACFLAGS = -O \
-I$(JAVA_HOME)/include \
-I$(JAVA_HOME)/include/linux \
${SWT_PTR_CFLAGS}
-MOZILLALIBS = -shared -s -Wl,--version-script=mozilla_exports -Bsymbolic
+MOZILLALIBS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic
SWT_OBJECTS = swt.o callback.o
CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
@@ -94,8 +94,13 @@ CFLAGS = -O -Wall \
-I$(JAVA_HOME)/include/linux \
-fPIC \
${SWT_PTR_CFLAGS}
-LIBS = -shared -fPIC -s
-
+LIBS = -shared -fPIC
+NO_STRIP = hi
+ifndef NO_STRIP
+ AWT_LIBS := $(AWT_LIBS) -s
+ MOZILLALIBS := $(MOZILLALIBS) -s
+ LIBS := $(LIBS) -s
+endif
all: make_swt make_atk make_gnome make_glx

Back to the top