summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-04-05 16:35:25 +0000
committersr55 <[email protected]>2010-04-05 16:35:25 +0000
commit9e3b8e60d3d7ef4c0aae520914231489ff51032c (patch)
tree57dd246d0e59c105308dc571798ffdc6b399865b
parent286dde5fd3887f5253bb9827d4fd973dcc609fb2 (diff)
libgcc is no longer needed. Thanks to golgol7777 for pointing out the necessary changes in the build system
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3199 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/module.defs1
-rw-r--r--test/module.defs1
2 files changed, 2 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index f3da3c0ba..d28d2a8ee 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -46,6 +46,7 @@ else ifeq ($(BUILD.system),linux)
LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
else ifeq ($(BUILD.system),mingw)
LIBHB.GCC.D += SYS_MINGW PTW32_STATIC_LIB
+ LIBHB.GCC.args.extra.dylib++ += -Wl --enable-auto-import
else ifeq ($(BUILD.system),solaris)
LIBHB.GCC.D += SYS_SunOS _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
else
diff --git a/test/module.defs b/test/module.defs
index e9bc7b791..d703d179f 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -49,4 +49,5 @@ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
TEST.libs += $(CONTRIB.build/)lib/libpthreadGC2.a
TEST.GCC.D += PTW32_STATIC_LIB
TEST.GCC.l += iberty ws2_32
+ TEST.GCC.args.extra.exe++ += -static
endif