Skip to content

Instantly share code, notes, and snippets.

@To1ne
Created February 4, 2010 22:17
Show Gist options
  • Save To1ne/295193 to your computer and use it in GitHub Desktop.
Save To1ne/295193 to your computer and use it in GitHub Desktop.
diff --git a/src/Makefile.in b/src/Makefile.in
index 3489d6f..6e982a8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -60,7 +60,7 @@ am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(CCLD) $(subst -export-dynamic,--export-dynamic, $(AM_CFLAGS)) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(klavaro_SOURCES)
DIST_SOURCES = $(klavaro_SOURCES)
ETAGS = etags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment