mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Use the static lib to link the program.
Changes the Makefile to use the static library and additional object files as linker input instead of all the object files when linking the command line program.
This commit is contained in:
parent
cb49586d36
commit
38893d2da1
|
@ -253,7 +253,7 @@ $(DYLIB): LDFLAGS += -dynamiclib \
|
|||
-compatibility_version $(VER_MAJOR) \
|
||||
-install_name $(LIBDIR)/$@
|
||||
|
||||
$(PROG): $(RELEASE_OBJS)
|
||||
$(PROG): $(MAIN_OBJS) $(STATIC)
|
||||
$(LD) $^ $(LDFLAGS) $(LIBS) -o $@
|
||||
|
||||
$(STATIC): $(OBJS)
|
||||
|
|
Loading…
Reference in a new issue