[adime] Drop no longer needed alleg_unsharable hack

Hans de Goede jwrdegoede at fedoraproject.org
Wed Jul 13 09:04:57 UTC 2011


commit b79602ba9e357213f943018abcfe37ef807276a5
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Jul 13 10:53:29 2011 +0200

    Drop no longer needed alleg_unsharable hack

 adime-2.2.1-so-fixes.patch |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/adime-2.2.1-so-fixes.patch b/adime-2.2.1-so-fixes.patch
index 948d79e..e2fcfda 100644
--- a/adime-2.2.1-so-fixes.patch
+++ b/adime-2.2.1-so-fixes.patch
@@ -9,19 +9,6 @@
  IMPLIB_NAME = $(LIB_DIR)/$(IMPLIB_BASENAME)
  LIB_NAME = $(IMPLIB_NAME)
  
-@@ -153,7 +153,11 @@
- SFLAGS = $(WFLAGS)
- ifndef SYMBOLMODE
- LFLAGS += -s
--LIB_FLAGS = `allegro-config --libs release $(ALLEGRO_CONFIG_FLAGS)`
-+# allegro-config --libs drags in -lalleg_unshareable, which is non-PIC 
-+# and thus should only be in the application not a .so file. This means all
-+# applications which use adime must be linked with:
-+# -Wl,--export-dynamic -lalleg_unsharable (or `allegro-config --libs`)
-+LIB_FLAGS= $(shell allegro-config --libs | sed 's/-lalleg_unsharable//')
- endif
- endif
- endif
 @@ -236,7 +240,7 @@
  
  LINK_LIB_DEPS =


More information about the scm-commits mailing list