mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-18 20:37:38 +02:00
build: Do not build the progname module if it is not needed
This was made conditional, but the code part was accidentally left untouched due to having ported it locally to use __progname, which caused build failures on the stock repo. Fixes: commit 046621d7967e7a0f08ae988bcf7e4cd1b6cf204c
This commit is contained in:
parent
73b25a8f87
commit
cf61ebb845
@ -95,7 +95,6 @@ libbsd_la_SOURCES = \
|
|||||||
local-link.h \
|
local-link.h \
|
||||||
merge.c \
|
merge.c \
|
||||||
pidfile.c \
|
pidfile.c \
|
||||||
progname.c \
|
|
||||||
pwcache.c \
|
pwcache.c \
|
||||||
radixsort.c \
|
radixsort.c \
|
||||||
readpassphrase.c \
|
readpassphrase.c \
|
||||||
@ -114,6 +113,12 @@ libbsd_la_SOURCES = \
|
|||||||
vis.c \
|
vis.c \
|
||||||
# EOL
|
# EOL
|
||||||
|
|
||||||
|
if NEED_PROGNAME
|
||||||
|
libbsd_la_SOURCES += \
|
||||||
|
progname.c \
|
||||||
|
# EOL
|
||||||
|
endif
|
||||||
|
|
||||||
if NEED_BSD_GETOPT
|
if NEED_BSD_GETOPT
|
||||||
libbsd_la_SOURCES += \
|
libbsd_la_SOURCES += \
|
||||||
bsd_getopt.c \
|
bsd_getopt.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user