You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/eboard/files/eboard-1.1.1-as-needed.patch

23 lines
654 B

--- a/configure
+++ b/configure
@@ -638,7 +638,7 @@
print CONFIGMAKE "CXX = $cxx\n";
print CONFIGMAKE "CXXFLAGS = @cxxflags\n";
-print CONFIGMAKE "LDFLAGS = @ldflags\n";
+print CONFIGMAKE "LDLIBS = @ldflags\n";
print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n";
print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n";
--- a/elifekam 2009-02-03 14:48:43.000000000 +0100
+++ b/elifekam 2009-02-03 14:48:58.000000000 +0100
@@ -24,7 +24,7 @@
all: eboard nls-dicts
eboard: $(OBJS)
- $(CXX) $(LDFLAGS) -o eboard $(OBJS)
+ $(CXX) $(LDFLAGS) -o eboard $(OBJS) $(LDLIBS)
.cc.o: $< $(HEADERS) $(XPMS)
$(CXX) $(CXXFLAGS) -c $< -o $@