games-util/sgdboop: drop overlinked dependencies
`$(LDFLAGS)` followed the `pkg-config` libraries, so `-Wl,--as-needed` had no effect and SGDBoop linked atk, cairo, gdk-pixbuf, harfbuzz and pango without using any of their symbols. Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
95bcbab1da
commit
bf14751e9b
11 files changed
+2
-7
No files matched your search
File renamed without changes.
@@ -1,11 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -22,7 +22,7 @@ build: build-$(OS_NAME)
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
.PHONY: build-linux build-darwin
|
||||
build-linux:
|
||||
- $(CC) -O3 -g sgdboop.c curl-helper.c gui-helper-gtk.c string-helpers.c crc.c $(shell $(PKG_CONFIG) --cflags --libs gtk+-3.0 libcurl) -o SGDBoop $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) sgdboop.c curl-helper.c gui-helper-gtk.c string-helpers.c crc.c $(shell $(PKG_CONFIG) --cflags --libs gtk+-3.0 libcurl) -o SGDBoop $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) sgdboop.c curl-helper.c gui-helper-gtk.c string-helpers.c crc.c $(shell $(PKG_CONFIG) --cflags --libs gtk+-3.0 libcurl) -o SGDBoop
|
||||
chmod +x SGDBoop
|
||||
|
||||
build-darwin:
|
||||
-5
@@ -20,14 +20,9 @@ PATCHES=(
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/glib:2
|
||||
media-libs/harfbuzz:=
|
||||
net-misc/curl[ssl]
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user