Skip to content

Commit

Permalink
TMP lx_hybrid: remove --static from pkg-config call
Browse files Browse the repository at this point in the history
Otherwise 'fb_sdl' does not link due to

/bin/ld: cannot find -l/usr/lib/libX11.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXext.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXcursor.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXi.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXfixes.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXrandr.so: No such file or directory
/bin/ld: cannot find -l/usr/lib/libXss.so: No such file or directory
collect2: error: ld returned 1 exit status
  • Loading branch information
cnuke committed Jan 11, 2024
1 parent 5fdea3a commit 7d43f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/base-linux/lib/import/import-lx_hybrid.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CXX_LINK_OPT += -Wl,--eh-frame-hdr
# variable to the linker command line
#
ifneq ($(LX_LIBS),)
LX_LIBS_OPT = $(shell pkg-config --static --libs $(LX_LIBS))
LX_LIBS_OPT = $(shell pkg-config --libs $(LX_LIBS))
endif

#
Expand Down

0 comments on commit 7d43f34

Please sign in to comment.