LibGME debian rules hack

This commit is contained in:
mazmazz 2018-11-26 07:45:41 -05:00
parent 9e025cfd33
commit ac2e93abbb

2
debian/rules vendored
View file

@ -71,6 +71,8 @@ MENUFILE2 = title="$(TITLE)" command="/$(PKGDIR)/$(PACKAGE)"
export PKG_CONFIG_LIBDIR = /usr/lib/$(CROSS_COMPILE_HOST)/pkgconfig export PKG_CONFIG_LIBDIR = /usr/lib/$(CROSS_COMPILE_HOST)/pkgconfig
BINDIR := $(DIR)/bin/Linux/Release BINDIR := $(DIR)/bin/Linux/Release
LDFLAGS += "-Wl,-rpath=/usr/lib/$(CROSS_COMPILE_HOST)" LDFLAGS += "-Wl,-rpath=/usr/lib/$(CROSS_COMPILE_HOST)"
# FIXME libgme-dev on debian doesn't use pkg-config yet, so put in the linker flag ourselves
MAKEARGS += LIBGME_LDFLAGS=-lgme
build: build:
$(MKDIR) $(BINDIR)/debug $(MKDIR) $(BINDIR)/debug