fixed the broken mysql LDFLAGS in debian db-mysql still doesnt build, but the ld...
authorRuss Tyndall <russ@acceleration.net>
Tue, 10 Jun 2014 15:26:09 +0000 (11:26 -0400)
committerRuss Tyndall <russ@acceleration.net>
Tue, 10 Jun 2014 15:26:09 +0000 (11:26 -0400)
db-mysql/Makefile

index 3a497c1662dedcc6d470706be9d47c273ca44cd6..604aac5b15b40cd83714fa9354c8e54845a77308 100644 (file)
@@ -38,7 +38,7 @@ ifneq ($(OS_CYGWIN),0)
 endif
 ifneq ($(OS_DPKG_BUILDFLAGS),0)
   CFLAGS:=$(CFLAGS) $(shell dpkg-buildflags --get CFLAGS)
-  LDFLAGS:=$(LDFLAGS) $(shell dpkg-buildflags --get LDFLAGS | sed "/-Wl,\(.*\)/ s//\1/")
+  LDFLAGS:=$(LDFLAGS) $(shell dpkg-buildflags --get LDFLAGS | sed "s/-Wl\|,/ /ig")
 endif
 
 $(shared_lib): $(source) Makefile