Skip to content

Instantly share code, notes, and snippets.

@2bits
Created October 20, 2011 04:05
Show Gist options
  • Select an option

  • Save 2bits/1300386 to your computer and use it in GitHub Desktop.

Select an option

Save 2bits/1300386 to your computer and use it in GitHub Desktop.
avidemux-2.5 svn grunster on OSX patch to set PIC=-DPIC not PIC=-fPIC, where -fno-common is already set.
--- a/cmake/patches/config_macosx.mak.diff 2010-05-13 13:01:37.000000000 -0700
+++ b/cmake/patches/config_macosx.mak.diff 2011-10-19 21:00:11.000000000 -0700
@@ -1,6 +1,6 @@
--- config.mak.old 2009-05-01 19:26:13.808782802 +0200
+++ config.mak 2009-05-01 18:10:25.000085291 +0200
-@@ -60,7 +60,7 @@
+@@ -60,7 +60,8 @@
INSTALL=install
LIBTARGET=
-SLIBNAME=$(SLIBPREF)$(FULLNAME)$(SLIBSUF)
@@ -9,5 +9,6 @@
+SLIBNAME=$(SLIBPREF)ADM5$(FULLNAME)$(SLIBSUF)
+SLIBNAME_WITH_VERSION=$(SLIBPREF)ADM5$(FULLNAME).$(LIBVERSION)$(SLIBSUF)
+SLIBNAME_WITH_MAJOR=$(SLIBPREF)ADM5$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)
++PIC=-DPIC
SLIB_CREATE_DEF_CMD=
SLIB_EXTRA_CMD=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment