mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/lua-gd: compile with -fPIC
Fixes: http://autobuild.buildroot.net/results/756c20a09e3c1bd5295416894e4fbe0ca0db5328 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
01e0fec161
commit
4b952a57ae
@ -16,7 +16,7 @@ define LUA_GD_BUILD_CMDS
|
|||||||
$(MAKE) -C $(@D) gd.so \
|
$(MAKE) -C $(@D) gd.so \
|
||||||
GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
|
GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
|
||||||
CC=$(TARGET_CC) \
|
CC=$(TARGET_CC) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
|
CFLAGS="$(TARGET_CFLAGS) -fPIC -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
|
||||||
LFLAGS="-shared -lgd"
|
LFLAGS="-shared -lgd"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user