aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt23/files/objprelink.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qt23/files/objprelink.patch')
-rw-r--r--x11-toolkits/qt23/files/objprelink.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/qt23/files/objprelink.patch b/x11-toolkits/qt23/files/objprelink.patch
new file mode 100644
index 000000000000..d6681cb74790
--- /dev/null
+++ b/x11-toolkits/qt23/files/objprelink.patch
@@ -0,0 +1,20 @@
+--- configs/freebsd-g++-shared Fri Jan 4 21:39:23 2002
++++ configs/freebsd-g++-shared.new Fri Jan 4 21:37:23 2002
+@@ -32,7 +32,7 @@
+ SYSCONF_LIBS_YACC =
+
+ # Linking applications
+-SYSCONF_LINK = g++
++SYSCONF_LINK = objprelink $(OBJECTS) $(OBJMOC) && g++
+ SYSCONF_LFLAGS =
+ SYSCONF_LIBS =
+
+@@ -58,7 +58,7 @@
+ #
+ SYSCONF_LINK_SHLIB = g++
+ SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
+-SYSCONF_LINK_LIB_SHARED = \
++SYSCONF_LINK_LIB_SHARED = objprelink $(OBJECTS) $(OBJMOC) && \
+ $(SYSCONF_LINK_SHLIB) -shared -Wl,-soname,lib$(TARGET).so.$(VER_MAJ) \
+ $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
+ $(OBJECTS) $(OBJMOC) $(LIBS) && \